'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ObtainNewCertificateAsync( _ ByVal application As IEasyUAApplication, _ ByVal gdsEndpointDescriptor As UAEndpointDescriptor, _ ByVal parameters As UAObtainNewCertificateParameters, _ ByVal progress As IProgress(Of String()) _ ) As Task(Of IPkiCertificate)
'Usage
Dim application As IEasyUAApplication Dim gdsEndpointDescriptor As UAEndpointDescriptor Dim parameters As UAObtainNewCertificateParameters Dim progress As IProgress(Of String()) Dim value As Task(Of IPkiCertificate) value = IEasyUAApplicationExtension.ObtainNewCertificateAsync(application, gdsEndpointDescriptor, parameters, progress)
[Extension()] [NotNull()] public static Task<IPkiCertificate> ObtainNewCertificateAsync( IEasyUAApplication application, UAEndpointDescriptor gdsEndpointDescriptor, UAObtainNewCertificateParameters parameters, IProgress<string[]> progress )
[Extension()] [NotNull()] public: static Task<IPkiCertificate^>^ ObtainNewCertificateAsync( IEasyUAApplication^ application, UAEndpointDescriptor^ gdsEndpointDescriptor, UAObtainNewCertificateParameters^ parameters, IProgress<array<String^>>^ progress )
Parameters
- application
- The OPC UA client application object that will perform the operation.
- gdsEndpointDescriptor
- The GDS endpoint acting as OPC UA certificate manager (CM).
- parameters
- The parameters describing how the certificate should be obtained.
- progress
- A provider for progress updates.
Return Value
TResult
contains the certificate obtained from the certificate manager.